/*
 * @author java_deng
 * @date 2025/2/5 12:27
 * @description
 */
package org.hbwl.service;

import org.hbwl.dto.Image;
import org.hbwl.mapper.ImageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ImageService {
    @Autowired
    private ImageMapper imageMapper;

    public List<Image> swiperList() {
        return imageMapper.swiperList();
    }

    public void save(Image image) {
        imageMapper.insert(image);
    }
}
